package com.lrkj.back.entity;

import java.util.Date;

public class TbPackageProduct implements java.io.Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer packprodId;

    private String productId;

    private String packageId;

    private Integer num;

    private Float price;

    private String function;

    private Date packprodCreatetime;

    private TbProduct product;
    
    private String departmentId;
    
    private String departmentName;
    
    private String productName;
    
    public String getDepartmentId() {
		return departmentId;
	}

	public void setDepartmentId(String departmentId) {
		this.departmentId = departmentId;
	}

	public String getDepartmentName() {
		return departmentName;
	}

	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public Integer getPackprodId() {
        return packprodId;
    }

    public void setPackprodId(Integer packprodId) {
        this.packprodId = packprodId;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId == null ? null : productId.trim();
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getPackageId() {
        return packageId;
    }

    public void setPackageId(String packageId) {
        this.packageId = packageId;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public String getFunction() {
        return function;
    }

    public void setFunction(String function) {
        this.function = function == null ? null : function.trim();
    }

    public Date getPackprodCreatetime() {
        return packprodCreatetime;
    }

    public void setPackprodCreatetime(Date packprodCreatetime) {
        this.packprodCreatetime = packprodCreatetime;
    }

	@Override
	public String toString() {
		return "TbPackageProduct [packprodId=" + packprodId + ", productId="
				+ productId + ", packageId=" + packageId + ", num=" + num
				+ ", price=" + price + ", function=" + function
				+ ", packprodCreatetime=" + packprodCreatetime + "]";
	}

	public TbProduct getProduct() {
		return product;
	}

	public void setProduct(TbProduct product) {
		this.product = product;
	}
}